#!/usr/bin/env bash
start=$(date +%s) 

archive_path=$(cd `dirname $0`; pwd)

# 上传ipa至fir
cd $archive_path/ipas

fir login -T 497e22f09f932e13b60deb7d14c7303a
fir publish app.ipa


end=$(date +%s)
end_string=$((( $end - $start ) / 60 ))分钟
echo "\033[31m ${end_string} \033[0m"
